package com.gitee.wsl.doc.prosemirror.model.dom

import com.fleeksoft.ksoup.nodes.Element
import kotlin.jvm.JvmInline

sealed interface ContentElement {
    @JvmInline
    value class StringContentElement(val s: String) : ContentElement

    @JvmInline
    value class ElementContentElement(val element: Element) : ContentElement

    @JvmInline
    value class FunctionContentElement(val func: ((node: Element) -> Element)) : ContentElement
}